package openones.samples.dataform.form;

import org.apache.commons.fileupload.FileItem;

import rocky.portlet.BaseInForm;

public class AddInForm extends BaseInForm {
    public static final String FORM_BEAN = "formBean";
    
    private String username;
    private String birthday;
    private FileItem attachedFile;
    private String rootPath = "D:/Temp"; // default folder to save attached file.
    
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getBirthday() {
        return birthday;
    }
    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
    
    public FileItem getAttachedFile() {
        return attachedFile;
    }
    public void setAttachedFile(FileItem attachedFile) {
        this.attachedFile = attachedFile;
    }
    
    public String getRootPath() {
        return rootPath;
    }
    public void setRootPath(String rootPath) {
        this.rootPath = rootPath;
    }
}
